import { Point } from './Point';

export interface IconOptions {
    iconUrl?: string;
    iconSize?: Point;
    iconAnchor?: Point;
}

export interface IconConstructor {
    new(opts?: IconOptions): Icon;
  }

export interface Icon {
    setIconUrl(iconUrl: string): void;
    getIconUrl(): string;
    setIconSize(size: Point): void;
    getIconSize(): Point;
    setIconAnchor(anchor: Point): void;
    getIconAnchor(): Point;
}
